package com.ruoyi.strategy;


import com.ruoyi.RuoYiApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = RuoYiApplication.class)
public class TestStrategy {
	@Autowired
	FeeCalculationService feeCalculationService;
	@Test
	public void Test1(){
		double vip = feeCalculationService.calculate("vip",120);
		System.out.println(vip);

	}
}
